import React from 'react';
import logo from './logo.svg';
import './App.css';
import PopConfirm from '@beisen-phoenix/popconfirm';

function App() {
  return (
    <div className="App">
     
     <div className="footer">
       <PopConfirm
         getPopupContainer={() => document.querySelector('.footer')}
         onConfirm={() => {
           console.log('确定');
         }}
         onCancel={() => {
           console.log('取消');
         }}
         message={'是否要执行此操作？'}
         translation={{ no: '否', yes: '是' }}
         >
         <button>点击触发</button>

       </PopConfirm>
       
     </div>
    </div>
  );
}

export default App;
